<?php
use think\facade\Route;
use app\admin\controller\Index;
Route::get('think', function () {
    return 'hello,ThinkPHP7!';
})->middleware(Index::class);
